package com.ruoyi.system.domain;

import java.util.Objects;

//试听学生 Aijia
public class SysTrystudent {
    private String tryId;//试听学生id
    private String tryName;//试听学生名字
    private String tryClass;//试听学生班级
    private String trySex;//试听学生性别
    private String tryCondition;//试听学生状态
    private String tryNumbercard;//试听学生身份证
    private String tryPhonenumber;//试听学生电话号码
    private String tryAddress;//试听学生地址籍贯
    private String tryBegintime;//试听学生开始时间
    private String tryFinish;//试听学生结束时间
    private String tryCause;//试听学生备注原因
    public String getTryId() {
        return tryId;
    }
    public void setTryId(String tryId) {
        this.tryId = tryId;
    }

    public String getTryName() {
        return tryName;
    }

    public void setTryName(String tryName) {
        this.tryName = tryName;
    }

    public String getTryClass() {
        return tryClass;
    }

    public void setTryClass(String tryClass) {
        this.tryClass = tryClass;
    }

    public String getTrySex() {
        return trySex;
    }

    public void setTrySex(String trySex) {
        this.trySex = trySex;
    }

    public String getTrycondition() {
        return tryCondition;
    }

    public void setTrycondition(String trycondition) {
        this.tryCondition = trycondition;
    }

    public String getTryNumbercard() {
        return tryNumbercard;
    }

    public void setTryNumbercard(String tryNumbercard) {
        this.tryNumbercard = tryNumbercard;
    }

    public String getTryPhonenumber() {
        return tryPhonenumber;
    }

    public void setTryPhonenumber(String tryPhonenumber) {
        this.tryPhonenumber = tryPhonenumber;
    }

    public String getTryAddress() {
        return tryAddress;
    }

    public void setTryAddress(String tryAddress) {
        this.tryAddress = tryAddress;
    }

    public String getTryBegintime() {
        return tryBegintime;
    }

    public void setTryBegintime(String tryBegintime) {
        this.tryBegintime = tryBegintime;
    }

    public String getTryFinish() {
        return tryFinish;
    }

    public void setTryFinish(String tryFinish) {
        this.tryFinish = tryFinish;
    }

    public String getTryCause() {
        return tryCause;
    }

    public void setTryCause(String tryCause) {
        this.tryCause = tryCause;
    }

    @Override
    public String toString() {
        return "SysTrystudent{" +
                "tryId='" + tryId + '\'' +
                ", tryName='" + tryName + '\'' +
                ", tryClass='" + tryClass + '\'' +
                ", trySex='" + trySex + '\'' +
                ", trycondition='" + tryCondition + '\'' +
                ", tryNumbercard='" + tryNumbercard + '\'' +
                ", tryPhonenumber='" + tryPhonenumber + '\'' +
                ", tryAddress='" + tryAddress + '\'' +
                ", tryBegintime='" + tryBegintime + '\'' +
                ", tryFinish='" + tryFinish + '\'' +
                ", tryCause='" + tryCause + '\'' +
                '}';
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof SysTrystudent)) return false;
        SysTrystudent that = (SysTrystudent) o;
        return Objects.equals(getTryId(), that.getTryId()) &&
                Objects.equals(getTryName(), that.getTryName()) &&
                Objects.equals(getTryClass(), that.getTryClass()) &&
                Objects.equals(getTrySex(), that.getTrySex()) &&
                Objects.equals(getTrycondition(), that.getTrycondition()) &&
                Objects.equals(getTryNumbercard(), that.getTryNumbercard()) &&
                Objects.equals(getTryPhonenumber(), that.getTryPhonenumber()) &&
                Objects.equals(getTryAddress(), that.getTryAddress()) &&
                Objects.equals(getTryBegintime(), that.getTryBegintime()) &&
                Objects.equals(getTryFinish(), that.getTryFinish()) &&
                Objects.equals(getTryCause(), that.getTryCause());
    }

    @Override
    public int hashCode() {
        return Objects.hash(getTryId(), getTryName(), getTryClass(), getTrySex(), getTrycondition(), getTryNumbercard(), getTryPhonenumber(), getTryAddress(), getTryBegintime(), getTryFinish(), getTryCause());
    }
}
